home *** CD-ROM | disk | FTP | other *** search
- 0 rem label maker utility
- 1 rem by joseph stein jr.
- 2 rem 859 miami st.,apt.35
- 3 rem tiffin, oh 44883
- 4 rem ph. (419) 447-7908
- 5 rem november 1984
- 80 rem enter text for label(s)
- 100 poke53280,12:poke53281,9:print"[147][158]"
- 107 gosub2000
- 110 ay$="are you sure? (y/n)":wl=.
- 120 ma$="[147]max. 32 keystrokes/line"
- 200 printma$:input"[145][145][145][145][145]enter name, return";ra$(1)
- 210 print" [157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157]"ay$
- 225 gety$:ify$=""then225
- 240 ify$="n"then200
- 250 ify$<>"y"then225
- 270 ifwl=1andy$="y"then700
- 300 printma$:input"[145][145][145][145][145]enter address (no commas), return";ra$(2)
- 310 print" [157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157]"ay$
- 325 gety$:ify$=""then325
- 340 ify$="n"then300
- 350 ify$<>"y"then325
- 370 ifwl=2andy$="y"then700
- 400 printma$:input"[145][145][145][145][145]enter city,state (e.g. tiffin,ohio)";ra$(3),ra$(4)
- 405 ra$(4)=" "+ra$(4)
- 410 print" [157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157]"ay$
- 425 gety$:ify$=""then425
- 440 ify$="n"then400
- 450 ify$<>"y"then425
- 470 ifwl=3andy$="y"then700
- 500 printma$:input"[145][145][145][145][145]enter zip code[157][157][157][157][157][157][157][157][157][157][157][157][157][157]";rz$
- 510 print" [157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157]"ay$
- 525 gety$:ify$=""then525
- 540 ify$="n"then500
- 550 ify$<>"y"then525
- 600 printma$:input"[145][145][145][145][145]optional line (e.g. your phone #)";ol$
- 610 print" [157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157]"ay$
- 620 gety$:ify$=""then620
- 630 ify$="n"then600
- 640 ify$<>"y"then620
- 670 ifwl=4andy$="y"then700
- 700 rem preview in graphix
- 720 print"[147]here's a preview of your label(s)"
- 760 print"[213][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][201]"
- 761 print"[194] [194]"
- 762 print"[194] [194]"
- 763 print"[194] [194]"
- 764 print"[194] [194]"
- 765 print"[202][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][203]"
- 800 print"[145][145][145][145][145]"ra$(1):print""ra$(2):print""ra$(3)","ra$(4)" "rz$
- 810 print""ol$
- 830 print"like it? (y/n)"
- 850 getyn$:ifyn$=""then850
- 860 ifyn$="y"then1200
- 870 ifyn$<>"n"then850
- 900 print"change one line or all (o/a)?"
- 910 getoa$:ifoa$=""then910
- 920 ifoa$="a"then110
- 930 ifoa$<>"o"then910
- 950 print"change which line (1,2,3 or 4)?"
- 960 getwl:ifwl<1orwl>4then960
- 970 onwlgoto120,300,400,600
- 1200 rem printer routine
- 1210 print"want to print it? (y/n)"
- 1220 getpr$:ifpr$=""then1220
- 1230 ifpr$="n"then1600
- 1240 ifpr$<>"y"then1220
- 1310 print"[147][213][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][201]"
- 1320 print"[194] [194]"
- 1330 print"[194] [194]"
- 1340 print"[194] [194]"
- 1350 print"[194] [194]"
- 1360 print"[202][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][203]"
- 1370 print"[145][145][145][145][145]"ra$(1):print""ra$(2):print""ra$(3)","ra$(4)" "rz$
- 1380 print""ol$
- 1400 input"how many labels are needed?";la
- 1410 print"adjust printer"
- 1420 print"press space bar when ready":print"f7 to exit"
- 1425 print"f5 to stop printing"
- 1450 getsb$:ifsb$=""then1450
- 1460 ifsb$="[136]"then700
- 1470 ifsb$<>" "then1450
- 1500 close4:open4,4
- 1510 foram=1tola
- 1520 print#4,ra$(1)
- 1530 print#4,ra$(2)
- 1540 print#4,ra$(3)","ra$(4)" "rz$
- 1550 print#4,ol$:foru=1to2:print#4,:nextu
- 1560 getqp$:ifqp$="[135]"thenprint#4:close4:goto700:rem f5
- 1570 next
- 1600 print"[147]again? (y/n)"
- 1610 getag$:ifag$=""then1610
- 1620 ifag$="n"then63000
- 1630 ifag$<>"y"then1610
- 1640 goto110
- 2000 print"[213][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][201]"
- 2005 print"[194] address labeler [194]"
- 2010 print"[202][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][203]"
- 2020 print"by joseph stein jr."
- 2030 print"press space bar to start"
- 2040 getst$:ifst$<>" "then2040
- 2050 return
- 63000 rem connect back to l.s.
- 63002 print"[147]load"chr$(34)"payload"chr$(34)",8":print"run"
- 63004 poke198,0:poke631,13:poke632,13:poke198,2:end
-